<template>
  <div>关于页面
      {{$route.path}}
      <hr>
      vuex测试:{{$store.state.num}}
  </div>
</template>

<script>
export default {
    created(){
        console.log(this.$route.path)
        console.log(this.$store.state.num)
    },
    data(){
        return{

        }
    }
};
</script>

<style lang="less" scoped>
div {
    padding-top: 200px;
    width: fit-content;
    margin: 0 auto;
}
</style>